﻿<%@ Page Language="vb"  MasterPageFile="~/MainPage.Master" AutoEventWireup="false" CodeBehind="Login.aspx.vb" Inherits="PetsCare.LoginPage" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <div>
    <center>
                  <p style="width: 1147px">
                      
                      <br />
                      
                      <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                      </asp:ToolkitScriptManager>
                      
                                  <div style="width: 712px">
                                      <center>
                      
                          <table class="style19">
                              <tr>
                                  <td class="style21" colspan="2" align="right">
                                 
                                      <asp:Label ID="Label1" runat="server" 
                                          style="font-family: Verdana; font-size: 19px" Text="Welcome"></asp:Label>
                                      <br />
                                      <asp:Label ID="Label2" runat="server" 
                                          style="font-family: Verdana; font-size: 15px; color: #333333" 
                                          Text="Please enter your Login name and password to access your account"></asp:Label>
                      
                                  </td>
                              </tr>
                              <tr>
                                  <td class="style20">
                                      <img alt="" src="Images/LoginImage.jpg" style="width: 212px; height: 141px" /></td>
                                  <td>
                      <asp:Login ID="Login1" runat="server" Height="132px" Width="382px" 
                          BackColor="White" BorderColor="White" BorderPadding="4" BorderStyle="Solid" 
                          BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                          ForeColor="#333333" DestinationPageUrl="~/UserPage.aspx">
                          <TextBoxStyle Font-Size="0.8em" />
                          <LayoutTemplate>
                              <div>
                                          
                                          <br />
                                          <br />
                                          <br />
                                          <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" 
                                              BackColor="White" Font-Size="Large" ForeColor="#006600">User Name:</asp:Label>
                                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                          <asp:TextBox ID="UserName" runat="server" Font-Size="Large" Width="150px"></asp:TextBox>
                                          <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                              ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                              ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                          <br />
                                          <br />
                                          <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" 
                                              Font-Size="Large" ForeColor="#006600">Password:</asp:Label>
                                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                          <asp:TextBox ID="Password" runat="server" Font-Size="Large" TextMode="Password" 
                                              Width="147px"></asp:TextBox>
                                          <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                              ControlToValidate="Password" ErrorMessage="Password is required." 
                                              ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                          <br />
                                          <br />
                                          <br />
                                          <asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />
                                          <br />
                                          <br />
                                          <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                          <br />
                                          <br />
                                          <br />
                                          <asp:Button ID="LoginButton" runat="server" BackColor="White" 
                                              BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" CommandName="Login" 
                                              Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" Height="26px" 
                                              Text="Log In" ValidationGroup="Login1" Width="111px" />
                                          <br />
                                          <br />
                                          <br />
                                          <br />
                                          
                                          </div>
                          </LayoutTemplate>
                          <LoginButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" 
                              BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                              ForeColor="#284E98" />
                          <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                          <TitleTextStyle BackColor="#507CD1" Font-Bold="True" Font-Size="0.9em" 
                              ForeColor="White" />
                      </asp:Login>
                                  </td>
                              </tr>
                          </table>
                      
                      </center>
                      </div>
                      
                      
                      
                      
   </p>   

</center>
 </div>
                                           
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="head">

    <style type="text/css">
        .style2
        {
            height: 36px;
        }
        .style3
        {
            height: 38px;
        }
        .style4
        {
            height: 24px;
        }
        .style6
        {
            height: 46px;
        }
        .style7
        {
            height: 34px;
        }
        .style19
        {
            width: 100%;
        }
        .style20
        {
            width: 194px;
        }
        .style21
        {
            height: 42px;
        }
        </style>

</asp:Content>

